package com.eascs.dubbo.api.util;

import com.eascs.web.sso.User;

public class UserUtils {
	
	public static User getUser(User user){
		User  user1=new User();
		user1.setNo(user.getNo());
		user1.setCname(user.getCname());
		user1.setAccount(user.getAccount());
		user1.setStatus(user.getStatus());
		user1.setOrg(user.getOrg());
		user1.setSuperAdministrator(user.isSuperAdministrator());
		user1.setDataPermissionStr(user.getDataPermissionStr());
		return  user1;
	}

}
